import { createRouter, createWebHashHistory} from "vue-router";
import UserLogin from "@/components/UserLogin.vue";
import MainPage from "@/components/frame/MainPage.vue";

const routes = [
    {
        path: '/',
        component: UserLogin
    },{
        name: 'MainPage',
        path: '/MainPage',
        component: MainPage
    }
]

const router = createRouter ({
    history:createWebHashHistory(),
    routes
})

export default router;